<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:text="${result}"></div>
<form th:action="@{/user/login}" method="post">
    <label>
        <input type="text" name="username"/>
        <input type="password" name="password"/>
        <button type="submit">提交</button>
    </label>
</form>
</body>
</html>